<?php
namespace Home\Controller;
use Think\Controller;



class MyshopController extends Controller{


   //查看店铺信息
	function checkmyshop($userid){
		$myshop=M("Myshop");

		// $userid=$_POST["userid"];

		$result=$myshop
		->field("") 
        ->join("")
        ->where(" ")
        ->select();

          if ($result) {
		   $this->ajaxReturn(array(
            "code"=>200,
            "message"=>"查询成功！",
            "data"=>$result
			),"JSON");
	     }
		 else{
			$this->ajaxReturn(array(
	            "code"=>500,
	            "message"=>"没有！"
				),"JSON");
		}
	}

}